<template>
  <div>
    <el-container>
      <el-aside width="auto" class="header-logo tap" >
      <img class="logo"  alt="Logo" />   
    </el-aside>
    <el-aside width="auto" class="header-logo tap" >    
      <el-badge :value="12" class="item">
  <el-button size="small" @click="tongzhi()">通知</el-button>
</el-badge>  
      <el-avatar icon="el-icon-user-solid" class="headerLogo"></el-avatar>
      <el-dropdown>
  <span class="el-dropdown-link">
    admin<i class="el-icon-arrow-down el-icon--right"></i>
  </span>
  <el-dropdown-menu slot="dropdown">
    <el-dropdown-item>黄金糕</el-dropdown-item>
    <el-dropdown-item>狮子头</el-dropdown-item>
    <el-dropdown-item>螺蛳粉</el-dropdown-item>
    <el-dropdown-item disabled>双皮奶</el-dropdown-item>
    <el-dropdown-item divided>蚵仔煎</el-dropdown-item>
    <el-dropdown-item divided>福鼎肉片</el-dropdown-item>
    <el-dropdown-item divided>东山羊</el-dropdown-item>
    <el-dropdown-item divided>麻婆豆腐</el-dropdown-item>
  </el-dropdown-menu>
</el-dropdown>
    </el-aside>
  </el-container>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "1",
    };
  },
  methods: {
    tongzhi(){
      
    },
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    }
  },
};
</script>
<style scoped>
.item {
  margin-top: 10px;
  margin-right: 40px;
}
.el-aside {
    display: flex;
    justify-content: center;
    align-items: center;
}

section{
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  width: 200px;
}

.headerLogo,.logo{
  cursor: pointer;
}
.el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
  }
  .el-icon-arrow-down {
    font-size: 12px;
  }

</style>
